ObjectDB Database Search

51-100 of 200 results

Puzzler: Not getting cascades on read from Spring context

Puzzler: Not getting cascades on read from Spring context

Low performance when getting grove roots

Low performance when getting grove roots

Getting a list of all the entity class names

Getting a list of all the entity class names

Getting Foreign Key

Getting Foreign Key

NPE when getting Persistence manager

NPE when getting Persistence manager

Getting exception while executing the Query

Getting exception while executing the Query

An InternalException occurs when gets an result list

An InternalException occurs when gets an result list

doctor error message after database getting page errors

doctor error message after database getting page errors

Getting sales quantity per country with a query, an idea anyone?

Getting sales quantity per country with a query, an idea anyone?

Soft Reference Object Cache Recommendation

) when heap RAM gets low for my application.  This would use a Least Recently Used (LRU) mechanism ... when the JdoBlob2 gets deleted. I use JavaVirtualVm to look at my application heap to see the references to the byte ... the JdoBlob2 via persistenceManager.deletePersisted(jdoBlob2) then the memory gets freed by

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

, with object 1.x, the same query was getting executed within an seconds and now the same is taking around 40 ... ; [JDORepository.retrieve:482] Start Time : class com.anritsu.eu.rtd.logger.rtdtool.LogEntryAttributeImpl 11-Sep ... ; [JDORepository.retrieve:482] Start Time : class com.anritsu.eu.rtd.logger.rtdtool.LogEntryAttributeImpl 11

How force always recreate database on redeployment.

and persist a test model each run. I keep getting models on top of each other on rerunning my web application ... the server, delete the database file, re- start the objectdb server, re-run the web app, which is tedious ... getting it to work. My connection URL in persistence.xml is: I run the server from /usr/local

Database Inconsistency or corruption

2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1 ... ObjectValues (with new Attributes and new Values) works fine. But, update does not work. The data gets ... , REVISION:=null, isPersisted:=false ... To confirm that the values are lost, I started the explorer

Extended mapping-definitions

(respectively its class) gets mapped to a java class. So cats get mapped to the java class 'Cat', dogs to 'Dog ... and 2.) not all classes are known at project start (an editor). To deal with especially the 2 ... for the name of the class. Now this leads to the following problem: By default a Java object gets

Mismatch client-server protocol prefix

starts with a prefix that is checked by the server before handling the request. That check could fail ... . Could you please check the specific query that caused the exception (assuming the stack trace starts ... ; This exception gets thrown at the getSingleResult line: java.lang.ClassCastException: at.co.pjm.tracker

persistence.xml classes not respected by ObjectDB

(+ their embeddable classes). P2 is created properly, but P1 gets all entity classes (from P2 ... erase the DB and start all over. But that's a problem. I have discovered it when I had to delete ... the elements in the development db, then upload the files on production, then start the app

EntityManager JPA or JDO impl and different behavior

.Provider Now in our project we use spring to start everything. If I do: System.out.println("EntityManager ... been getting . The unit test shows how when a query is performed on the holder, the attributeName ... , since it will enable getting into ObjectDB with the debugger (by replacing the objectdb jar

Different behavior with persist() and queried instances?

to be being pretty useless.. thanks, Alex quasado Alexander Adam I am getting closer.. looks like ... : After the commit and persist calls I do close the entity manager so my object gets detached. Between ... it becomes a regular java.util.Array again which of course doesn't mark the object dirty when getting changed

after upgrade to 2.9.0 database destroys, urgent issue at our most important customer, production shutdown

? Regarding the merge errors, did you start getting them only after fixing the database? According ... copy with the Doctor. With this arrangement you should find issues when they start (in that case ... is a pain, everytime we start it it connects directly to the database and then we have the access error

Replication Error

to one of them, enabled recording and started odb. The dbname.odr folder got created so i think ... and started it. The second server starts complaining instantly with the following Exception: com.objectdb ... ? The manual says that it gets copied automatically. mosi0815 Ralph Moser Yes you are right

Jboss 6 persistence.xml startup error

out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS. Here is my setup ... to Start : name=persistence.unit:unitName=test.war#testUnit state=Create: java.lang.RuntimeException ... drop it in the JBoss's deploy directory, start JBoss ( run ) and open the browser at  http

Embedding ObjectDB on server application

already? Just started trying out ObjectDB so sorry if I didn't read the documents carefully enough!   ... ? Still getting this: Message: No Persistence provider for EntityManager named objectdb:$objectdb/test.odb ... if ObjectDB is unable to create a file at the requested directory? Here's the stack trace: ( starting

Using the wrong class to access a database

Hello, just starting to test ObjectDB and ran into a problem. I've created a small program to test the Point database described in the Getting Started section: package com.objectdb.tutorial ... the queries? - why the db is getting messed up with the third query - even if the class is wrong

Activated ObjectDB still throws "Too many persistable types"

to find out whether a started ObjectDB server is activated, without having to resort to an actual ... for that machine. Is there any way to find out whether a started ObjectDB server is activated, without having ... keep getting the same activation code. I tried it out with 2.4.4_02 and 2.4.4_05 and I get the same error

Query problem after transaction commit

[Remarks] 01 Test_Connection: connecting 02 Test_Connection: connected 03 UI: start query [query ...   05 code= %, desc= % 06 UI: end query 07 UI: start printing result 08 code= A, desc= Good ... printing result 12 Goods creation: D created [create Goods D successfully] 13 UI: start query [query

Unexpected NoSuchFieldError exception

) java.lang.NoSuchFieldError: __odbTracker 3) Attempt to start a transaction ... above: transaction is active. So, for some reason, I'm getting these 3 errors repeatedly. David   ... .AbstractCallSite.call(AbstractCallSite.java:133) at app.AuServerRedis$_ start _heartbeat_closure2.doCall

Replication issue, Replayer failing due to NullPointerException.

I'm getting replication errors and upon trying to play the replayer I get a NullPointerException ... too much else useful in the log, i've tried deleting all the DB files on both sides, starting a clean ... on from the start . It's worth noting that some of the databases may be totally empty(no objects

Query perfromance problem

, but trust me - when debugging application, getting data from ODB takes a long time in one case. Anyway, one of my methods in DAO looks like this:  public List list(int start , int count, String sortColumn, boolean isAscending) {   logger.debug("Method start .");   List prodList = null;  

Getting an error when adding activation code to conf file

Getting an error when adding activation code to conf file

retrieval again and again started

retrieval again and again started

Application not starting after enhancement

Application not starting after enhancement

exception on start

exception on start

jakarta.persistence.criteria.CriteriaBuilder.substring(Expression,Expression)

extraction. Extracts a substring starting at the specified position through to end of the string. First position is 1. Parameters: x - string expression from - start position expression Returns

jakarta.persistence.criteria.CriteriaBuilder.substring(Expression,int)

extraction. Extracts a substring starting at the specified position through to end of the string. First position is 1. Parameters: x - string expression from - start position Returns: expression

jakarta.persistence.criteria.CriteriaBuilder.substring(Expression,Expression,Expression)

) Create an expression for substring extraction. Extracts a substring of given length starting at the specified position. First position is 1. Parameters: x - string expression from - start position

jakarta.persistence.criteria.CriteriaBuilder.substring(Expression,int,int)

an expression for substring extraction. Extracts a substring of given length starting at the specified position. First position is 1. Parameters: x - string expression from - start position len - length Returns

jakarta.persistence.Embedded

@AttributeOverrides({ @AttributeOverride(name = "startDate", column = @Column("EMP_ START

jakarta.persistence.EntityTransaction

JPA article explains how to use EntityTransaction . Public Instance Methods void begin () Start

jakarta.persistence.AttributeOverrides

= @Column(name = "EMP_ START ")), @AttributeOverride(name="endDate", column = @Column(name = "EMP_END

missing merger

special activity today at the time that these errors start please report.  We are using Java 17 ... that these errors start please report no it is completely random, we also have these errors: [2025-04-13 17:59:03 ... at 12:33, exactly when the errors started . So apparently something with that transaction produced

jakarta.persistence.EntityTransaction.begin()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityTransaction void begin() Start a resource transaction. Throws: IllegalStateException - if EntityTransaction.isActive is true. Since: Jakarta Persistence (JPA) 1.0

Internal error

.component.AbstractLifeCycle. start (AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle. start (ContainerLifeCycle.java:131) at org.eclipse.jetty.server.Server. start (Server.java:452 ... .server.Server.doStart(Server.java:419) at org.eclipse.jetty.util.component.AbstractLifeCycle. start

Unexpected error when loading all entity instance

= ) 3. Load the next 10.000 instance and start over After a while and a lot of queries ... did already. But after adding new ChangeSet instances it gets corrupted all the time. So I repair ... . Could you please provide a program that can demonstrate this corruption, i.e. starts with a valid database

Best practise loading big data

. If all of them potentially hold this amount of memory then our application gets into trouble. So we need ... connection, create an entitiy manager and start to read the first half of the MyValue objects in nested ... speeds up the application. At start of reading, the DB can deliver about 1000 values within 150ms

Negative snapshot user count exception

shows up a number of times, and today at 10:14 AM PDT we started getting the mismatch client-server ... new database pages). Could you please provide more details? Particularly, when did this start ... a link in a private support ticket) we can try getting some hint. support Support On our Dev server

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server. The objectdb log ... to something which is different in server mode - connection management seemed like a good place to start ... also started to get oom exceptions in an embedded database: [ObjectDB 2.2.8] javax.persistence

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

). Because it gets pulled more than once during the various JSF phases the output is quite copius ... for relationships ?  Then I will eat my hat. Are you seriously suggested that after getting the query ... to happen in Object DB when neither LAZY nor EAGER are given ? For I am getting a 3rd result that I

Server crash - Mismatch client-server protocol prefix

;Once the server gets in this state, it is unresponsive to bin/server.sh restart; I have had to reboot ... (which fortunately gets auto-mailed to me): [ObjectDB 2.5.2] javax.persistence.PersistenceException ... that both issues started now? Maybe the other issue is the cause of this server problem? Maybe

Querying error - java.lang.ClassCastException: com.objectdb.o.STV

I'm getting the ClassCastException below when querying objects. As yet I haven't been able ... on attempts to recreate - but presumably at some point an object gets saved which objectdb doesn't like. Any ... ) and either start with a clean database or fix this database by running the Doctor in repair mode

again merger missing logs + objectdb exception

. With no ability to reproduce the problem (yet) progress is slow, but we are getting closer and hope ... . Meanwhile, have you fixed the database using the Doctor and started the system again successfully? support ... ] Server on port 3333 has started by 13072@wzbhb101 [2017-10-05 12:25:26 #3 *] [ObjectDB 2.7.1_01